/*
 * $Id: CfgStepType.java,v 1.7 2010/06/11 16:24:03 navdeep_mahajan Exp $
 *
 * Copyright (C) 2006 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */

package com.ge.healthcare.autosc.common.database.pojo;

public class CfgStepType extends AbstractCfgStepType {

	/**
	 * Eclipse generated
	 */
	private static final long serialVersionUID = 6255644263804352840L;
	public static final String TABLE_NAME = "com.ge.healthcare.autosc.common.database.pojo.CfgStepType";
	public static final String COL_ID = "stepTypeId";
	public static final String COL_STEP_TYPE = "stepType";
	public static final String COL_SERVER_NAME = "serverName";

	public boolean equals(CfgStepType stepType) {
		if (this.getStepTypeId().equals(stepType.getStepTypeId())
				&& this.getStepType().equals(stepType.getStepType())
				&& this.getServerName().equals(stepType.getServerName())) {
			return true;
		}
		return false;
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		StringBuffer definition = new StringBuffer();
		definition.append("{Step Type Id=").append(this.getStepTypeId())
				.append("},");
		definition.append("{Step Type=").append(this.getStepType())
				.append("},");
		definition.append("{Server Name=").append(this.getServerName()).append(
				"},");
		definition.append("{Version=").append(this.getVersion()).append("}");
		return definition.toString();
	}
}
